#debug if not on real appengine
global debug
debug = 'Google' not in request.env.server_software

#debug function
def d(name,input): 
    if debug: print name,input
